		<div class="content">
			<div class="detail-top">
				<table class="tbl-list">
					<tr>
						<td colspan="2"><a href="<?php echo site_url($result->link1.'/'.$result->linkday1);?>"><img src="<?php echo img_link('truoc1.png');?>"/></a>Xổ số <?php echo $location->name;?> ngày: <?php echo date('d/m/y',strtotime($result->date));?><?php if($result->link2 != '#'):?><a href="<?php echo site_url($result->link2.'/'.$result->linkday2);?>"><img src="<?php echo img_link('sau1.png');?>"/></a><?php endif;?></td>
					</tr>
					<tr>
						<th class="first">ĐB:</th>
						<th class="last"><?php echo $result->a0;?></th>
					</tr>
					<tr>
						<td>G1:</td>
						<td><?php echo $result->a1;?></td>
					</tr>
					<tr>
						<td>G2:</td>
						<td><?php echo show_prize($result->a2);?></td>
					</tr>
					<tr>
						<td>G3:</td>
						<td>
							<?php echo show_prize($result->a3);?>
						</td>
					</tr>
					<tr>
						<td>G4:</td>
						<td>
							<?php echo show_prize($result->a4);?>
						</td>
					</tr>
					<tr>
						<td>G5:</td>
						<td>
							<?php echo show_prize($result->a5);?>
						</td>
					</tr>
					<tr>
						<td>G6:</td>
						<td>
							<?php echo show_prize($result->a6);?>
						</td>
					</tr>
					<tr>
						<td>G7:</td>
						<td>
							<?php echo show_prize($result->a7);?>
						</td>
					</tr>
					<?php if($result->a8 != ''):?>
					<tr>
						<td>G8:</td>
						<td>
							<?php echo show_prize($result->a8);?>
						</td>
					</tr>
					<?php endif;?>
				</table>
				<table class="tbl-list">
					<tr>
						<th class="first">Đầu</th>
						<th class="last">Đuôi</th>
					</tr>
					<?php 
					$extension = json_decode($result->extension);
					?>
					<?php foreach($extension as $k => $v):?>
					<tr>
						<td><?php echo $k;?></td>
						<td><?php echo show_extension($v);?></td>
					</tr>
					<?php endforeach;?>
				</table>
				<div class="share-ico">
					<?php $this->load->view('client/layout/shared');?>
				</div>
				<div class="box-detail"><a href="<?php echo location_link($location->alias.'/soi-cau-lo-to');?>" class="box-css3">SOI CẦU LOTO <img src="<?php echo img_link('new.png');?>" width="60" height="29" /></a></div>
				<div class="box-detail"><span class="box-css3">THỐNG KÊ</span></div>
			</div>
			<ul class="link1">
				<li><a href="<?php echo location_link($location->alias.'/thong-ke-10-ngay');?>">Thong ke 10 ngay</a></li>
				<li><a href="<?php echo location_link($location->alias.'/thong-ke-20-ngay');?>">Thong ke 20 ngay</a></li>
				<li><a href="<?php echo location_link($location->alias.'/thong-ke-30-ngay');?>">Thong ke 30 ngay</a></li>
				<li><a href="<?php echo location_link($location->alias.'/tra-cuu-ket-qua');?>">Tra cứu kết quả</a></li>
			</ul>
		</div>